using System;
using System.Collections.Generic;
using System.Text;
using LeisureCenter.Api;

namespace MPlayer
{
    public class MPlayerPlayer : BasePlayer
    {
        public MPlayerPlayer(IInstance instance)
        {
        }

        public static string Name = "MPlayer";

        public override IMedia CreateMedia(string fileName, MediaKind kind)
        {
            switch (kind)
            {
                case MediaKind.Video:
                    return new MPlayerVideoMedia(this, fileName);
            }
            return null;
        }
    }
}
